<%@ page import="com.webamc.common.enums.Params" %>
<%--
Main layout page will call/add other jsps
  Date: Mar 14, 2009
  Time: 1:54:43 PM
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    boolean showlogin = session.getAttribute(Params.SESSIONUSER) == null;
%>

<html>
<head>
    <title>Product | AMC</title>
    <script type="text/javascript"></script>
    <link rel="stylesheet" href="../webamc.css"/>
</head>
<body onload="if(window != window.top) window.top.location.href='../dyn/index.html'">
<table border="1" class="index-table">
    <col width="15%"/>
    <col width="85%"/>
    <tr>
        <td colspan="2" height="10%">
            <jsp:include page="header.jsp" flush="false"/>
        </td>
    </tr>
    <% if (showlogin) {%>
    <tr>
        <td colspan="2">
            <jsp:include page="login.jsp" flush="false"/>
        </td>
    </tr>
    <%} else {%>
    <tr>
        <td>
            <jsp:include page="menuleft.jsp" flush="false"/>
        </td>
        <td>
            <iframe frameborder="0" name="dyn" src="about:blank"></iframe>
        </td>
    </tr>
    <%}%>
</table>
</body>
</html>